﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Transactions;

using MINERP.DAL;
using MINERP.DAL.InfoConfig;

namespace MINERP.BLL.InfoConfig
{
    public class FlowTemplateBLL
    {
        /// <summary>
        ///  Get FlowTemplate object
        /// </summary>
        /// <param name="flowTemplateId"></param>
        /// <returns></returns>
        public Tb_FlowTemplate GetFlowTemplateObj(int flowTemplateId)
        {
           return FlowTemplateDAL.GetFlowTemplateObj(flowTemplateId);
        }

        /// <summary>
        /// Delete FlowTemplate object
        /// </summary>
        /// <param name="obj"></param>
        public  void DeleteFlowTemplate(Tb_FlowTemplate obj)
        {
            FlowTemplateDAL.DeleteFlowTemplate(obj);
        }
    }
}
